package com.rd.student.ruanjian.class4.zhouzihe.day06;

class Student {
    String name;
    String major;
    String class1;


    public Student(String name, String major, String class1) {
        this.name = name;
        this.major = major;
        this.class1 = class1;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", major='" + major + '\'' +
                ", class1='" + class1 + '\'' +
                '}';
    }
}
